package cn.wuxing.mediation.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.wuxing.mediation.common.annotation.Excel;
import cn.wuxing.mediation.common.core.domain.BaseEntity;

/**
 * 非纠纷事项对象 cm_not_dispute_event
 *
 * @author mediation
 * @date 2024-09-27
 */
public class NotDisputeEvent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 事项ID */
    private Long id;

    /** 事项编码 */
    @Excel(name = "事项编码")
    private String eventCode;

    /** 事项类型 已专窗名称进行分类 */
    @Excel(name = "事项类型 已专窗名称进行分类")
    private Long eventType;

    /** 案件状态 1.待分派 2.受理退回 3.待受理 8.待结案 9.已结案 */
    @Excel(name = "案件状态 1.待分派 2.受理退回 3.待受理 8.待结案 9.已结案")
    private Integer eventState;

    /** 发生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "发生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date initiateTime;

    /** 来访人数 */
    @Excel(name = "来访人数")
    private Integer peopleNum;

    /** 所属辖区 */
    @Excel(name = "所属辖区")
    private String areaId;

    /** 事项描述 */
    @Excel(name = "事项描述")
    private String eventDesc;

    /** 专窗ID */
    @Excel(name = "专窗ID")
    private Long windowId;

    /** 调解人ID */
    @Excel(name = "调解人ID")
    private Long mediatorCommitteeUserId;

    /** 乡镇街道社会治理中心ID */
    @Excel(name = "乡镇街道社会治理中心ID")
    private Long villagesSgCenterId;

    /** 结案内容 */
    @Excel(name = "结案内容")
    private String closeCaseContent;

    /** 草稿状态（0 正常 1草稿） */
    @Excel(name = "草稿状态", readConverterExp = "0=,正=常,1=草稿")
    private Integer draftFlag;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setEventCode(String eventCode)
    {
        this.eventCode = eventCode;
    }

    public String getEventCode()
    {
        return eventCode;
    }
    public void setEventType(Long eventType)
    {
        this.eventType = eventType;
    }

    public Long getEventType()
    {
        return eventType;
    }
    public void setEventState(Integer eventState)
    {
        this.eventState = eventState;
    }

    public Integer getEventState()
    {
        return eventState;
    }
    public void setInitiateTime(Date initiateTime)
    {
        this.initiateTime = initiateTime;
    }

    public Date getInitiateTime()
    {
        return initiateTime;
    }
    public void setPeopleNum(Integer peopleNum)
    {
        this.peopleNum = peopleNum;
    }

    public Integer getPeopleNum()
    {
        return peopleNum;
    }
    public void setAreaId(String areaId)
    {
        this.areaId = areaId;
    }

    public String getAreaId()
    {
        return areaId;
    }
    public void setEventDesc(String eventDesc)
    {
        this.eventDesc = eventDesc;
    }

    public String getEventDesc()
    {
        return eventDesc;
    }
    public void setWindowId(Long windowId)
    {
        this.windowId = windowId;
    }

    public Long getWindowId()
    {
        return windowId;
    }
    public void setMediatorCommitteeUserId(Long mediatorCommitteeUserId)
    {
        this.mediatorCommitteeUserId = mediatorCommitteeUserId;
    }

    public Long getMediatorCommitteeUserId()
    {
        return mediatorCommitteeUserId;
    }
    public void setVillagesSgCenterId(Long villagesSgCenterId)
    {
        this.villagesSgCenterId = villagesSgCenterId;
    }

    public Long getVillagesSgCenterId()
    {
        return villagesSgCenterId;
    }
    public void setCloseCaseContent(String closeCaseContent)
    {
        this.closeCaseContent = closeCaseContent;
    }

    public String getCloseCaseContent()
    {
        return closeCaseContent;
    }
    public void setDraftFlag(Integer draftFlag)
    {
        this.draftFlag = draftFlag;
    }

    public Integer getDraftFlag()
    {
        return draftFlag;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("eventCode", getEventCode())
            .append("eventType", getEventType())
            .append("eventState", getEventState())
            .append("initiateTime", getInitiateTime())
            .append("peopleNum", getPeopleNum())
            .append("areaId", getAreaId())
            .append("eventDesc", getEventDesc())
            .append("windowId", getWindowId())
            .append("mediatorCommitteeUserId", getMediatorCommitteeUserId())
            .append("villagesSgCenterId", getVillagesSgCenterId())
            .append("closeCaseContent", getCloseCaseContent())
            .append("draftFlag", getDraftFlag())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
